package com.zhao.fishingguideserver.POJO;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 轮播图实体类
 */
@Data
public class Banner {
    private Long bannerId;
    
    @NotEmpty(message = "图片URL不能为空")
    private String imageUrl;
    
    /**
     * 跳转链接
     */
    private String linkUrl;
    
    /**
     * 标题
     */
    private String title;
    
    /**
     * 排序
     */
    private Integer sortOrder;
    
    /**
     * 状态：1-启用，0-禁用
     */
    private Integer status;
    
    private LocalDateTime createdAt;
    
    private LocalDateTime updatedAt;
}

